const express = require('express');
const app = express();

/**
 * get请求
 */
const homer = require('./router/index');
app.use(homer);

/**
 * post请求
 */
const user = require('./router/post');
app.use(user);

app.listen(3000, () => {
    console.log('server started');
});
